package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.media.WmNewsVO;
import com.usian.model.media.pojos.WmNews;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName: WmNewMapper
 * Author:   WGG
 * Date:    2022-11-2022/11/17-11:57
 * Version: 1.0
 * Description:
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {
    List<WmNewsVO> listWmNews(@Param("title") String title, @Param("currentPage") Integer currentPage, @Param("size") Integer size);
    WmNewsVO one(@Param("id") Integer id);
}
